package com.lys.emsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lys.emsystem.entity.ChartData;
import com.lys.emsystem.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lys.emsystem.vo.StudentVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liyansheng
 * @since 2022-04-26
 */
public interface IStudentService extends IService<Student> {
    IPage<Student> search(Page page, StudentVo studentVo);

    Student getStudentById(Integer id);

    List<ChartData> selectStudentSexCount(Integer userId);

    List<ChartData> selectStudentProvince(Integer userId);
}
